$ brew install --build-from-source https://raw.githubusercontent.com/mcandre/homebrew-core/27757013b40567774c223a93faa720ed813ece71/Formula/whois.rb
Discover gists
/* | |
* Copyright 2006 Freescale Semiconductor, Inc. All Rights Reserved. | |
*/ | |
/* | |
* The code contained herein is licensed under the GNU General Public | |
* License. You may obtain a copy of the GNU General Public License | |
* Version 2 or later at the following locations: | |
* | |
* http://www.opensource.org/licenses/gpl-license.html |
/* | |
Instagram API: view and backup direct messages from a web browser | |
Since April 2020, Instagram has a web version to send and read direct messages so my Instagram scripts are not longer needed and I would not recommend using them unless you really need it, to avoid being banned | |
(never happened to me with Instagram but WhatsApp is owned by Facebook also and they did it to users registering from an unofficial app like yowsup: https://github.com/tgalal/yowsup/commit/88b8ad9581fa22dac330ee3a05fec4e485dfa634#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5) | |
1) Log in on Instagram web version and go to your profile page | |
(the home page will not work because it loads data when scrolling down and the direct messages will be displayed at the bottom of the page) | |
2) Modify HTTP headers with a browser addon like Header Editor (https://addons.mozilla.org/en-US/firefox/addon/header-editor/) |
- Login with account user (not root)
mkdir pem
cd pem
ssh-keygen -b 2048 -f identity -t rsa
- Copy public key contents to authorized_keys
# makes a notepad process that remains on top of other windows. | |
$cs = Add-Type -MemberDefinition ' | |
[DllImport("user32.dll")] public static extern bool SetWindowPos(IntPtr a, IntPtr b, int c, int d, int e, int f, uint g); | |
public static void AlwaysOnTop(IntPtr a, int d) { SetWindowPos(a, (IntPtr)(-1), 0, d-250, 300, 200, 64); } | |
' -Name PS -PassThru; | |
$hWnd = Start-Process -FilePath notepad -PassThru; | |
$screen = Get-WmiObject -Class Win32_VideoController | Select-Object CurrentVerticalResolution; | |
$cs::AlwaysOnTop($hWnd.MainWindowHandle, $screen.CurrentVerticalResolution); |
'Microsoft Excel Automation Basics | |
':: Create and edit an Excel File. | |
'--------------------------------- | |
'create the excel object | |
Set objExcel = CreateObject("Excel.Application") | |
'view the excel program and file, set to false to hide the whole process | |
objExcel.Visible = True |
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
What this guide covers:
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using OfficeOpenXml; | |
namespace ExcelExport | |
{ | |
internal class DataTableExcelExporter | |
{ | |
private readonly IEnumerable<string> _columnsToHide; |
This gist lists challenges you run into when building offline-first applications based on IndexedDB, including open-source libraries like Firebase, pouchdb and AWS amplify (more).
Note that some of the following issues affect only Safari. Out of the major browsers, Chrome's IndexedDB implementation is the best.
When this bug occurs, every time you use the indexeddb, the WAL file grows. Garbage collection doesn't seem to be working, so after a while, you end up with gigabytes of data.